package proxy_pattern.v3;

/**
 * 代理类
 * @author 米饭好好吃
 */
public class Proxy implements IGiveGift {
    Persuit gg;

    public Proxy(Persuit gg) {
        this.gg = gg;
    }

    @Override
    public void giveDolls() {
        gg.giveDolls();
    }

    @Override
    public void giveFlowers() {
        gg.giveFlowers();
    }

    @Override
    public void giveChocolate() {
        gg.giveChocolate();
    }
}
